#!/bin/sh -e

# Copied from wireshark dpkg & modified

GROUP=kismet

if [ "$1" = "purge" ] ; then
      if getent group $GROUP >/dev/null; then
                if [ -x /usr/sbin/delgroup ]; then
                        echo "Removing kismet group..."
                        delgroup --system $GROUP || echo "Could not remove kismet group."
                fi
        fi
fi

# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section

